<extend name="Public:mainbase" />
<block name="content">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/dhtmlxtree.css"/>
    <script language="javascript" src="__PUBLIC__/js/member.js?{:time()}"></script>
    <script language="javascript" src="__PUBLIC__/js/Validform_v5.3.2_min.js?{:time()}"></script>
    <style type="text/css">
        .Validform_checktip{line-height: 34px}
    </style>
    <button type='button' class="btn btn-success btn-sm" onclick="history.go(-1)">返回上一页</button>
        &nbsp;&nbsp;&nbsp;&nbsp;
    <!--  内容列表   -->
    <form name="form2" method="post">
        <table width="98%" class="table table-bordered  table-hover table-condensed "  align="center">
            <tr bgcolor="#E7E7E7" >
                <td height="28" colspan="11" background="__PUBLIC__/images/tbg.gif" style="padding-left:10px;">
                    ◆ 专题列表
                </td>
            </tr>
            <tr align="center" bgcolor="#FBFCE2" height="25">
                <td width="4%">选择</td>
                <td width="10%">专题ID</td>
                <td>专题名称</td>
                <td>状态</td>
                <td>创建时间</td>
                <td width="10%">操作</td>
            </tr>
            <foreach name="specialList" item="val">
                <tr align='center' bgcolor="#FFFFFF" height="26">
                    <td>
                        <input name="sid" type="checkbox" value="{$val.id}" class="np" />
                    </td>
                    <td nowrap>{$val.id}</td>
                    <td>{$val.name}</td>
                    <td><?php echo $val['status'] ? '使用中' : '已冻结' ?></td>
                    <td>{$val.create_time|date="Y-m-d H:i",###}</td>
                    <td>
                    	<?php if($val['is_add']) { ?>
                    	已添加
                    	<?php  } else { ?>
                        <a href="{:U('addSpecialLive')}?cid={$Think.get.cid}&sid={$val.id}" class='addLive'>添加</a>
                        <?php } ?>
                    </td>
                </tr>
            </foreach>
    </form>
    <tr align="right" bgcolor="#F9FCEF">
        <td height="36" colspan="11" align="center">
            <div class='page'>{$showpage}</div>
        </td>
    </tr>
    </table>

      搜索表单
    <form name='form3' action='' method='get'>
    <input type='hidden' name='dopost' value='listArchives' />
    <table width='98%'  class='table' align="center" style="margin-top:8px">
        <tr bgcolor='#EEF4EA'>
            <td background='__PUBLIC__/images/wbg.gif' align='center'>
                <table border='0' cellpadding='0' cellspacing='0' height="32">
                    <tr>
                        <td nowrap>专题名称：</td>
                        <td width='130'>
                            <input type='text' name='name' value='' style='width:120px' />
                        </td>
                    <td>
                        <input name="imageField" type="image" src="__PUBLIC__/images/button_search.gif" width="60" height="22" border="0" class="np" />
                    </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </form>
    <style type="text/css">
        .editarticlebox{ z-index: 900 !important; }
        .modal-backdrop{z-index: 800 !important; }
    </style>

</block>